home *** CD-ROM | disk | FTP | other *** search
/ Speccy ClassiX 1998 / Speccy ClassiX 98.iso / amiga_system / the_aminet / dev / c / asyncio.lha / AsyncIO / src / RequeuePacket.c < prev    next >
C/C++ Source or Header  |  1995-09-10  |  372b  |  19 lines

  1. #include "async.h"
  2.  
  3. /* this function puts the packet back on the message list of our
  4.  * message port.
  5.  */
  6. VOID
  7. AS_RequeuePacket( AsyncFile *file )
  8. {
  9. #ifdef ASIO_NOEXTERNALS
  10.     struct ExecBase *SysBase;
  11.  
  12.     SysBase = file->af_SysBase;
  13. #endif
  14.  
  15.     AddHead( &file->af_PacketPort.mp_MsgList, &file->af_Packet.sp_Msg.mn_Node );
  16.     file->af_PacketPending = TRUE;
  17.     --file->af_Received;
  18. }
  19.